package com.code.exam.dto;


import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class ExamPageQueryDTO implements Serializable {

    private Integer page = 1;  //当前页码


    private Integer pageSize = 10;  //每页显示记录数


    private String keyword;  //模糊匹配考试名称


    private String status;  //考试状态：UPCOMING/INPROGRESS/ENDED



    private LocalDate startFrom;


    private LocalDate startTo;


    private int offset;  //从第offset条开始查询

    private int Limit;   //查询Limit条截止

}
